import { TransitionProps } from '@vue/runtime-dom'

/** 解析过渡配置 */
export function resolveTransition(opt: string | TransitionProps) {
  return typeof opt === 'string' ? { name: opt } : opt
}
